<?php
/** @var FormController $this */
/** @var Form $model */

$this->pageTitle = Form::label(2);
$this->breadcrumbs = array(
    Yii::t('app', 'Dashboard') => Yii::app()->homeUrl,
    Form::label(2)=>array('default/index'),
    $this->pageTitle,
);
$this->menu=array(
    array('label' => Yii::t('noseyModule.app', 'Manage'),'icon' => 'list', 'url' => array('default/index')),
//    array('label' => Yii::t('noseyModule.app', 'Create'), 'url' => array('form/create'), 'active'=>true),
);

Yii::app()->clientScript->registerCssFile($this->module->assetsUrl . '/css/styles.css');
?>

<div class="widget blue">
    <div class="widget-title">
        <h4><i class="icon-plus"></i> <?php echo Yii::t('noseyModule.app', 'Create') . ' ' . Form::label(); ?></h4>
        <span class="tools">
            <a href="javascript:;" class="icon-chevron-down"></a>
            <!--a href="javascript:;" class="icon-remove"></a-->
        </span>
     </div>
    <div class="widget-body">
        <?php echo $this->renderPartial('_form', array('model' => $model, 'fields' => $fields)); ?>
    </div>
</div>